package com.clubs.coding.model.dao;

import com.clubs.coding.model.pojo.News;

import java.util.List;

public interface NewsMapper {
    int deleteByPrimaryKey(Integer newsId);

    int insert(News record);

    int insertSelective(News record);

    News selectByPrimaryKey(Integer newsId);

    int updateByPrimaryKeySelective(News record);

    int updateByPrimaryKeyWithBLOBs(News record);

    int updateByPrimaryKey(News record);
    List<News> selectAllByShowIndexNews();
    List<News> selectAll();
    List<News> selectByTypeNews();
}